//
//  SEGUhomeMediator+SEGUhomePropertyBaseService.m
//  SEGBasicBussiness
//
//  Created by 梁昆 on 2018/3/29.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGUhomeMediator+SEGUhomePropertyBaseService.h"

NSString * const kTargetDigitalCom = @"DigitalCommunity";
NSString * const kActionDigitalComInitDigitalComRootViewController = @"initDigitalComRootViewController";
NSString * const kActionDigitalComInitSubmitUserAtuhViewController = @"initSubmitUserAtuhViewController";
NSString * const kActionDigitalComInitHouseUserListViewController = @"initHouseUserListViewController";
static NSString *const kTargetHotline = @"Hotline";
static NSString *const kActionServiceHotlineViewController = @"initServiceHotlineViewController";



@implementation SEGUhomeMediator (SEGUhomePropertyBaseService)
/**
 * 初始化数字社区，房屋管理
 * @author Helen */
-(UIViewController *)seg_initDigitalComRootViewController:(NSDictionary *)params{
    return [self performTarget:kTargetDigitalCom action:kActionDigitalComInitDigitalComRootViewController params:params shouldCacheTarget:NO];
}

-(NSString *)seg_getDigitalComRootViewControllerClassString:(NSDictionary *)params{
    return [self performTarget:kTargetDigitalCom action:@"getDigitalComRootViewControllerClassString" params:params shouldCacheTarget:NO];
}


/**
 * 初始化数字认证
 * @author Helen
 */
-(UIViewController *)seg_initSubmitUserAtuhViewController:(NSDictionary *)params{
    return [self performTarget:kTargetDigitalCom action:kActionDigitalComInitSubmitUserAtuhViewController params:params shouldCacheTarget:NO];
}

/**
 * 初始化数字认证,成员管理
 * @author Helen
 */
-(UIViewController *)seg_initHouseUserListViewController:(NSDictionary *)params{
    return [self performTarget:kTargetDigitalCom action:kActionDigitalComInitHouseUserListViewController params:params shouldCacheTarget:NO];
}

/**
 * 服务热线
 * @author Joe
 */
- (UIViewController *)seg_initServiceHotlineViewController:(NSDictionary *)params {
        return [self performTarget:kTargetHotline
                            action:kActionServiceHotlineViewController
                            params:params
                 shouldCacheTarget:NO];
}

/// 房屋认证2.0
- (UIViewController *)seg_initDigitalCommunity2ChooseIdentityViewController:(NSDictionary *)params{
    return [self performTarget:@"SEGDigitalCommunity2" action:@"initDigitalCommunity2ChooseIdentityViewController" params:params shouldCacheTarget:NO];
}

/// 成员管理2.0
- (UIViewController *)seg_initHouseUserListV2ViewController:(NSDictionary *)params{
    return [self performTarget:@"SEGDigitalCommunity2" action:@"initHouseUserListV2ViewController" params:params shouldCacheTarget:NO];
}

/// 住户认证(非业主认证)
- (UIViewController *)seg_initDigitalCommunity2TenantViewController:(NSDictionary *)params {
    return [self performTarget:@"SEGDigitalCommunity2" action:@"initDigitalCommunity2TenantViewController" params:params shouldCacheTarget:NO];
}

/// 业主审核2.0
- (UIViewController *)seg_initHouseholdReviewViewController:(NSDictionary *)params {
    return [self performTarget:@"SEGDigitalCommunity2" action:@"initHouseholdReviewViewController" params:params shouldCacheTarget:NO];
}

/// 业主申请认证
- (UIViewController *)seg_initDigitalCommunity2LandlordViewController:(NSDictionary *)params{
    return [self performTarget:@"SEGDigitalCommunity2" action:@"initDigitalCommunity2LandlordViewController" params:params shouldCacheTarget:NO];
}
@end
